import * as Submit from './submit'
import { Tools } from 'weaver-mobile';

const getLabel = Tools.getLabel;
export const getEmBottomBtns = () => {
    let rightMenus = [{
        isLockShow: false,
        isMobile: true,
        isPortal: false,
        isTest: false,
        isTop: "1",
        menuFun: "doMonitorIntervenor()",
        menuIcon: "icon-coms-Forcible",
        menuName: getLabel(615, '提交'),
        order: 5,
        type: "BTN_DOINTERVENOR",
    }];
    let bottomBtns = []
    rightMenus.map(v => {
        bottomBtns.push({
            'key': v.type, 'image': '', 'name': v.menuName, 'action': () => {
                Submit.doSubmitForm({ actiontype: "requestOperation", src: "intervenor" })
            }, 'flex': 6
        });
    })
   
    return bottomBtns;
}